import { baseRequest } from '@/utils/request'

const request = (url, ...arg) => baseRequest(`/work_flow/content/` + url, ...arg)

export default {

	async getByWorkflowId(data) {
		return await request('get_by_workflow_id', data, 'post')
	},
	async save(data){
		return await request('save', data, 'post')
	},async aiGenerateProcessFile(data){
		return await request('ai_generate_process_file', data, 'post')
	}
}
